<!--
 * @Author: dfh
 * @Date: 2023-12-14 15:02:51
 * @LastEditors: dfh
 * @Modified By: dfh
 * @describe: 
-->
<template>
  <cw-button type="danger" size="large" iconPlacement="right" @click="onClickHandle" @mousedown="onMouseDownHandle" a="1" b="2">
    按钮
    <template #icon>
      <cw-icon size="20" color="white">
        <AccessibilitySharp />
      </cw-icon>
    </template>
  </cw-button>
</template>

<script setup lang="ts">
import { AccessibilitySharp } from '@vicons/ionicons5';

const onClickHandle=()=>{
  console.log('点击啦')
}
const onMouseDownHandle=()=>{
  console.log('按下啦')
}
</script>

<style lang="scss" scoped></style>